package pers.zb.cloud.web.upms.service.hystrix;

import org.springframework.stereotype.Component;
import pers.zb.cloud.web.upms.entity.SysPermission;
import pers.zb.cloud.web.upms.service.PermissionService;
import pers.zb.cloud.web.upms.vo.PermissionVo;

import java.util.List;

@Component
public class PermissionServiceHystrix implements PermissionService {

    @Override
    public SysPermission getPermissionById(Long id) {
        return null;
    }

    @Override
    public List<PermissionVo> getPermissionListByPid(Long pid, String clientId) {
        return null;
    }

    @Override
    public boolean haveChildrenMenu(Long id) {
        return false;
    }

    @Override
    public void addPermission(SysPermission sysPermission) {

    }

    @Override
    public void updatePermission(SysPermission sysPermission) throws Exception {

    }

    @Override
    public List<PermissionVo> getPermissionListByNotItself(Long id, String clientId) {
        return null;
    }

    @Override
    public void deletePermission(Long[] permissionIdArrs) throws Exception {

    }
}
